Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(commands): remove use moon forms flag #293

Merged
merged 3 commits into from
Jul 26, 2024

Conversation

joe-prosser
Copy link
Contributor

No description provided.

@joe-prosser joe-prosser requested a review from AWilcke July 26, 2024 13:07
@joe-prosser joe-prosser self-assigned this Jul 26, 2024
SAMPLE_MOON_LABELLING,
vec!["--allow-duplicates", "--yes", "--use-moon-forms"],
);
check_comments_lifecycle(SAMPLE_MOON_LABELLING, vec!["--allow-duplicates", "--yes"]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is now the same as the test above right?

@@ -161,7 +153,7 @@ pub fn upload_batch_of_annotations(
let comment_uid =
CommentUid(format!("{}.{}", source.id.0, new_comment.comment.id.0));

let result = (if !use_moon_forms {
let result = (if new_comment.moon_forms.is_none() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this still only uploads entities without moon forms, we need to pass the entities in the else clause as well

@joe-prosser joe-prosser merged commit 4c6d593 into master Jul 26, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants